﻿'use strict'

var app = angular.module('BlogApp', ['ngRoute']);

app.controller('BlogListController', ['$scope', 'BlogServices', function ($scope, BlogServices) {
    
    BlogServices.getBlog().then(function (data) {
        $scope.blogArray = data;
    });



}])